//
//  DataCache.m
//  classone
//
//  Created by zzn on 2016/11/15.
//  Copyright © 2016年 zzn. All rights reserved.
//

#import "DataCache.h"

@implementation DataCache

+(void)loginWithName:(NSString *)name password:(NSString *)password complete:(void (^)
    (NSDictionary *d))handle
{
    NSURL *url = [NSURL URLWithString:@"http://xl18z.cn/login.php"];
    NSURLRequest *request = [NSURLRequest requestWithURL:url];
    NSURLSession *session = [NSURLSession sharedSession];
    NSURLSessionDataTask *task = [session dataTaskWithRequest:request completionHandler:^(NSData * _Nullable data,NSURLResponse * _Nullable response,NSError * _Nullable error){
    
    }];
    [task resume];
}
@end